package com.jianfeiliao.portfolio.panel.header;

import com.jianfeiliao.portfolio.page.BasePage;
import java.io.Serializable;

public class NavigationItem implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    private Class<? extends BasePage> destination;
    private String caption;
    
    public NavigationItem(Class<? extends BasePage> destination, String caption) {
        this.destination = destination;
        this.caption = caption;
    }
    
    public Class<? extends BasePage> getDestination() {
        return destination;
    }
    
    public String getCaption() {
        return caption;
    }
}